<text><span class="style8">----------------------------------------------------------------- VIRUS WARNING! ---- ---- ツゥ 1994-1995 by Matthias Kahlert ---- Haidauer Str. 79, 93073 Neutraubling, Germany -----------------------------------------------------------------------> The Dummy Virus to prevent any infection!-- This script simulates the virus, so the real virus-- doesn't copy itself into your stacks.-- on openbackground --merryxmas-- on closebackground --merryxmas-- on idle --merryxmas-----> The Virus Checker:-- This script tells you, if the stack, you're just opening-- contains the MerryXMas Viruson openstack put short name of this stack into theStack put script of this stack into theScript if thScript contains "on merryxmas key" & return & ツャ " set lockscreen to true" then beep 3 answer "Virus Warning!" & return & return & ツャ "The stack 窶" & theStack & "窶 contains the HyperCard " ツャ "Virus 窶廴erryXMas窶!" end if pass openstackend openstack</span></text>
</content>
<name>Virus Warning! Script</name>
<script>on opencardset dontwrap of bg fld "Infos" to trueset locktext of bg fld "Infos" to falsepass opencardend opencardon closecardset dontwrap of bg fld "Infos" to falseset locktext of bg fld "Infos" to truepass closecardend closecard</script>
</card>
card_3610.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style8">n openbackground --merryxmas merryxmas "on openbackground --merryxmas"end openbackgroundon closebackground --merryxmas merryxmas "on closebackground --merryxmas"end closebackgroundon idle --merryxmas put "on idle --merryxmas" into key if not (the script of this stack contains key) then merryxmas keyend idleon merryxmas key set lockscreen to true set lockmessages to true set lockrecent to true put the userlevel into oldlevel set the userlevel to 5 put the script of this stack into stackscript put the script of stack "Home" into homescript put "on openbackground --merryxmas" into hostscript if stackscript contains key then if homescript contains key then else set cantmodify of stack "Home" to false if not (cantmodify of stack "Home") then set the script of stack "Home" to ツャ homescript & return & lastlines(hostscipt,stackscript) end if end if else if homescript contains key then set cantmodify of this stack to false if not (cantmodify of this stack) then set the script of this stack to ツャ stackscript & return & lastlines(hostscript,homescript) end if else domenu "Quit Hypercard" end if set the userlevel to oldlevel set lockrecent to false set lockmessages to false set lockscreen to falseend merryxmasfunction lastlines afterline,stuff put (number of lines in stuff) into total put line (total-53) to total of stuff into host repeat with x = 55 to total put line (total-x+1) of stuff & return & host into host if line 1 of host is afterline then exit repeat end repeat return hostend lastlines</span></text>
</content>
<name>Virus Script</name>
<script>on opencardset dontwrap of bg fld "Infos" to truepass opencardend opencardon closecardset dontwrap of bg fld "Infos" to falsepass closecardend closecard</script>
</card>
card_2094.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style9">EEEEEEEEEEELP !!!!!</span><span class="style3">or: </span><span class="style9">What to do if nothing isn't working!</span><span class="style3"> You only have to read this chapter, if the 窶廛isinfect窶ヲ窶 button at the bottom of this card isn't working. This can happen, if your stacks are protected (e.g. on write-protected disks or write-only volumes) or the scripts are not originally like that which this stack is based on. In this case please use the instructions here: In the case, that your Home-Stack is infected: First take a look on the virus script on the next card, and the copy the 窶弖irus Warning! Script窶 into your clipboard. Then go to the Home-Stack, open the stack script (pressing command, option and 窶彜窶 at the same time) and search the virus there (it normaly can be located at the very end of all the scripts). Delete it and then paste the AntiVirus script which you have copied before. You have to past the script in every case, or the virus will infect your stacks at the next possibility. If the virus is located in any other stack, just do as described before. Open the stacks and its stack script, locate the virus and delete it. In normal stacks you don't have to install the AntiVirus script, this is only to be done in the Home-Stack. But you first have to disinfect your Home-Stack, or all your exertions will have no effect. In order to test, if it was working, then wait a few seconds and open the stacks script of that stack, you just disinfected, again. If the virus has infected your stack again, then you have a small problem窶ヲ But it can be solved, too. In this case there probably is a stack which is 窶彿n use窶 but closed. You can get the names of that stacks by typing 窶彗nswer the stacksInUse窶 and return into the message box. The virus script may be located in any of these. Now do as described: (1) Make all this stacks 窶徙ff use窶 by typing 窶徭top using stack theStack窶 into your message box. theStack has to be substituted by every stack name you got before. Do that, until there is no other stack in use than the Home-Stack. (2) Now open these stacks one by one and clear the virus out of them.</span></text>
</content>
<name>Help</name>
<script></script>
</card>
card_2405.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style7">isinfecting or searching the virus:</span><span class="style3"> To disinfect your stacks just click on the button called 窶廛isinfect窶ヲ窶. Then you are asked, what you want to do. You can disinfect a single file or a whole folder/volume. If you click on 窶廡ile窶, you are asked after that file in a standard Open-Dialog. If you use the button 窶廡older窶, the dialog looks nearly the same. Go to the folder you want to disinfect and click on the button below the file list called 窶彜elect窶. A green progress bar will appear at the bottomright of this card, which tells you, how much of the work is done. After all stacks have been disinfected you will see a kind of log file, which tells you, what stacks were infected and how long it took. Just click into that field to hide it. Thats all! If you want to just search for the virus before deleting it, you have to use the button 窶彜earch窶ヲ窶. It will not touch your stacks in any way, but it will tell you, what stacks are infected.</span><span class="style7">Installing the AntiVirus Script:</span><span class="style3"> The installation of the AntiVirus script is very simple: Just click onto the 窶廬nstaller窶 button on the topleft and the AntiVirus script (you can see it on the last card of this stack or by clicking onto 窶弖irus Warning! Script窶) will be copied into your Home-Stack. This script prevents MerryXMas from spreading and infecting your stacks and it will tell you, if you open an infected stack. But before installing the scripts first disinfect all your harddisks and other volumes. If you have installed older versions of this AntiVirus script please first uninstall them using that version of Virus Warning! you used to install them. And if the disinfection script however isn't working you can find a detailed information about desinfecting your stacks 窶彙y hand窶 on the card 窶廩elp窶. </span><span class="style5">Hint:</span><span class="style3"> The AntiVirus script can be found on the last card of this stack. But it is also installed in the stack script of this stack.</span></text>
</content>
<name>Installation</name>
<script></script>
</card>
card_3053.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style3"> I wrote this stack, because I once detected a HyperCard virus on my hard disk. What? Yes! Also HyperCard stacks can be infected by viruses! The virus I'm writing about is called 窶廴erryXMas窶. It is actually harmless, but it is multiplying itself very fast. And it's very hard to get rid of it without any tools like this one. Now it's time to talk about this stack: On the one hand the scripts inside this stacks are warning you, if the virus is detected anywhere. On the other hand this stack lets you disinfect or search other stacks only by clicking a few times with your mouse. </span><span class="style5">What does the virus do?</span><span class="style3"> If you open any stack containing MerryXMas, the virus copies itself into your Home-Stack and from this stack it spreads to all the other stacks you open. And sometimes it suddenly quits your HyperCard application without any warning. But it doesn't delete any scripts or informations! If you wish to take a look onto the script of the virus, just click on the button 窶弖irus Script窶 at the bottom of this window. But don't panic! This stack is (normaly) not infected! The virus script is only put into a text field, and from there it can't spread! In any case I hope, that your stacks aren't infected and that you can install that good-working protection against it! Surely I will try to hold this stack always up-to-date. If you will ever detect any other HyperCard virus I don't know and which isn't considered in this stack (at the moment I know only one HyperCard virus, and that is 窶廴erryXMas窶), please send me a small notice with an example of the virus (e.g. an infected file) to the address mentioned below) and then I will try to expand this utility. This stack was written by: </span><span class="style6">Matthias Kahlert</span><span class="style3"> </span><span class="style6">Haidauer Straテ歹 79</span><span class="style3"> </span><span class="style6">93073 Neutraubling Germany</span><span class="style3"></span><span class="style11"> This stack is Shareware!</span><span class="style9"> (US$ 5,-!)</span><span class="style11"></span><span class="style3"></span><span class="style9"> If you are using this stack or the virus protection scripts for more than two weeks, please pay the shareware fee of 5,- US-Dollars (or DM 5,- if you live in Germany). Therefore you'll get the newest version of Virus Warning! and some other tools for HyperCard. In this stack I used my XCMDs and XFCNs. So here are the Copyright notices:</span><span class="style3"> 窶「 ColorizeHC (XCMD) v1.0.5 by Bung Dabba邃「 窶「 CreateFolder (XCMD) v1.2 by Frテゥdテゥric Rinaldi 窶「 FullSFPack (XFCN) v1.7 by Frテゥdテゥric Rinaldi 窶「 GetDir (XFCN) v2.5 by Frテゥdテゥric Rinaldi 窶「 Inflate (XCMD) by Steve Breish 窶「 MaxDepth (XFCN) v1.0 by Bung Dabba邃「 窶「 ResText (XFCN) v2.3 by Frテゥdテゥric Rinaldi 窶「 SetCreator (XCMD) v2.1 by Donald Iverson 窶「 SetType (XCMD) v2.1 by Donald Iverson 窶「 SystemFolder2 (XFCN) v1.0.1 by Kevin Calhoun 窶「 TextRes (XCMD) v2.1 by Frテゥdテゥric Rinaldi 窶「 Thermometer (XCMD) v1.0 by Mike Byrne, Apple Computer Inc.</span><span class="style7">Version History:</span><span class="style3"> 窶「 Version 1.0 vom 7.7.1994 - First release of this stack 窶「 Version 1.1 vom 12.8.1994 - A colored background using the XCMD 窶廚olorizeHC窶 窶「 Version 1.2 vom 26.8.1994 - Balloon Help for the Buttons and Fields 窶「 Version 2.0 vom 11.2.1995 - A new icon for the stack - Fixed a small bug in the Installer script - Shortening of the protection script - Adding the possibility of disinfection - Colored progress bar during searching or disinfecting</span><span class="style9"> </span><span class="style7">Attention:</span><span class="style9"> You can surely understand that I can't make any waranties pertaining an error-free function of this stack and the scripts and XCMDs/XFCNs in it. In no event shall I, Matthias Kahlert, be liable for any consequential, indirect or similar damages, including but not limited to any lost profits or lost data arising out of the use or inability to use this stack or it's resources. You use this stack on your own risk!</span></text>